﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RptStockView.aspx.cs" Inherits="Informes_RptStockView" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Visor Informe Stock</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <rsweb:ReportViewer ID="rwStock" runat="server" Height="600px" Width="100%" Font-Names="Verdana" Font-Size="8pt">
            <LocalReport ReportPath="Informes\RptStockt.rdlc">
                <DataSources>
                    <rsweb:ReportDataSource DataSourceId="odsStock" Name="Stock" />
                </DataSources>
            </LocalReport>
        </rsweb:ReportViewer>
    
    </div>
        <asp:ObjectDataSource ID="odsStock" runat="server" SelectMethod="RptStock" TypeName="GC2.DataAccess.DAAdmin.DAStock">
            <SelectParameters>
                <asp:SessionParameter Name="listaStock" SessionField="listaStock" Type="Object" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </form>
</body>
</html>
